﻿// <copyright>
// Copyright (c) Microsoft Corporation.  All rights reserved.
// </copyright>

using System.Runtime.Serialization;

namespace CloudMLDemo.Models
{
    public class BatchScoreStatus
    {
        /// <summary>
        /// Status code for the batch scoring job
        /// </summary>
        [DataMember]
        public BatchScoreStatusCode StatusCode { get; set; }

        /// <summary>
        /// Location for the batch scoring output.
        /// We only support one output and shared access signature.
        /// </summary>
        [DataMember]
        public AzureBlobDataReference Result { get; set; }

        /// <summary>
        /// Error message when it fails
        /// </summary>
        [DataMember]
        public string Details { get; set; }
    }
}